package org.example.eatback.service;

import org.example.eatback.pojo.DiaryRecord;

import java.time.LocalDate;

public interface DiaryService {
    DiaryRecord getDailyRecord(String username, LocalDate date);
    void saveOrUpdate(DiaryRecord record);
    void updateMeal(String username, LocalDate date, String mealType,
                    String foods, Integer calories, String notes);

    void deleteMeal(String username, LocalDate date, String mealType);
}
